g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/X11R6/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/X11R6/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -D_THREAD_SAFE -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I../../../../src/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT memorymappedfile.lo -MD -MP -MF .deps/memorymappedfile.Tpo -c memorymappedfile.cpp -fPIC -DPIC -o .libs/memorymappedfile.o
memorymappedfile.cpp: In static member function `static wxULongLong wxMemoryMappedFile::GetFileSize64(wxMemoryMappedFileHandleType)':
memorymappedfile.cpp:222: error: `off64_t' was not declared in this scope
memorymappedfile.cpp:222: error: expected `;' before "size"
memorymappedfile.cpp:223: error: `lseek64' was not declared in this scope
memorymappedfile.cpp:224: error: `size' was not declared in this scope
memorymappedfile.cpp:228: error: `size' was not declared in this scope
gmake[5]: *** [memorymappedfile.lo] Error 1
gmake[5]: Leaving directory `/usr/src/codeblocks/src/plugins/contrib/codesnippets'
Build machine is freebsd 6.2. I'm building C::B with wx2.8, since 2.6 is throwing wx errors when drawing some graphics. Or at least trying to - this module won't build. The reason is
probably because freebsd doesn't seem to have off64_t or the functions that use it.
I'll do gmake -i in the meantime.